/*
 * Author: 李波(Edwin Lee)
 * Date: 2024-06-21 19:34:34
 * FilePath: /chat/include/server/groupuser.hpp
 * LastEditTime: 2024-06-21 20:43:31
 * version: 1.0
 * Description: 
 */

#ifndef GROUPUSER_H
#define GROUPUSER_H

#include "user.hpp"

//群组用户，多了一个role角色信息，从User类直接继承，复用User的其他信息
class GroupUser : public User
{
public:
    void setRole(string role){role_ = role;}
    string getRole(){return role_;}
private:
    string role_;
};

#endif